package com.yami.shop.security.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class WxConfig {

    @Value("${wechat.appid:''}")
    private String appId;


    @Value("${wechat.appsecret:''}")
    private String appsecret;


    @Value("${wechat.miniLoginUrl:''}")
    private String miniLoginUrl;




    /**
     * 签名方式
     */
    public static String SIGN_TYPE = "RSA2";
    /**
     * 参数类型
     */
    public static String PARAM_TYPE = "json";
    /**
     * 编码
     */
    public static String CHARSET = "utf-8";
}
